@function getRemNum($rem) {
  @return ($rem /37.5)
}

body {
  background: #F5F5F5;
}

header {
  width: getRemNum(343rem);
  margin: getRemNum(24rem) auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .lastLoginTime {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
    color: #757575;
    font-family: PingFangSC-Regular, PingFang SC;
    font-size: getRemNum(12rem);
    line-height: getRemNum(17rem);

    p:nth-child(1) {
      letter-spacing: getRemNum(0.6rem);
    }

    p:nth-child(2) {
      letter-spacing: getRemNum(1rem);
    }
  }

}

#container {
  height: getRemNum(700rem);

  .personal-information {
    margin: getRemNum(16rem) auto;
    background: #fff;
    width: getRemNum(343rem);
    height: getRemNum(114rem);
    display: flex;
    justify-content: space-between;
    border-radius: getRemNum(8rem);
    box-sizing: border-box;
    padding: getRemNum(21rem);

    .personal-information-detailed {
      font-family: PingFangSC-Medium, PingFang SC;
      height: getRemNum(80rem);
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .username {
        font-size: getRemNum(16rem);
        font-weight: bold;

      }

      .jurisdiction {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: getRemNum(12rem);
        width: getRemNum(61rem);
        height: getRemNum(22rem);
        background: #FFC542;
        color: #fff;
        text-align: center;
        line-height: getRemNum(22rem);
        border-radius: getRemNum(4rem);
      }

      .user-id {
        font-size: getRemNum(14rem);
        letter-spacing: getRemNum(0.7rem);
        font-family: PingFangSC-Regular, PingFang SC !important;
      }
    }

    .head-portrait {
      width: getRemNum(72rem);
      height: getRemNum(72rem);
      overflow: hidden;
      border-radius: 50%;
      background: #89B1FF;
      display: flex;
      justify-content: center;
      align-items: center;

      img {
        height: 100%;
        width: 100%;
        object-fit: cover;
      }

      p {
        color: #fff;
        font-size: getRemNum(26rem);
        letter-spacing: getRemNum(1.3rem);
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: bold;
      }
    }
  }

  .personal-options {
    width: getRemNum(335rem);
    margin: getRemNum(16rem) auto 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: getRemNum(8rem);
    overflow: hidden;

    & > section {
      width: getRemNum(302rem);
      height: getRemNum(64rem);
      background: #FFFFFF;
      border-bottom: solid getRemNum(1rem) #F5F5F5;
    }

    & > section:last-child {
      border: none !important;
    }

    & > section a {
      display: flex;
      align-items: center;
      width: getRemNum(302rem);
      height: getRemNum(64rem);
    }

    & > section a > section:nth-child(1) {
      width: getRemNum(20rem);
      height: getRemNum(20rem);
      margin-left: getRemNum(2rem);
      background-size: contain !important;
    }

    & > section a > section:last-child {
      width: getRemNum(24rem);
      height: getRemNum(24rem);
      background: url("https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/go.png") no-repeat;
      background-size: contain;
    }

    & > section:nth-child(1) a > section:nth-child(1) {
      background: url("https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/History.png") no-repeat;
    }

    & > section:nth-child(2) a > section:nth-child(1) {
      background: url("https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/AboutMe.png") no-repeat;
    }

    & > section:nth-child(3) a > section:nth-child(1) {
      background: url("https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/Setting.png") no-repeat;
    }

    & > section:nth-child(4) a > section:nth-child(1) {
      background: url("https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/Setting.png") no-repeat;
    }

    p {
      font-size: 16px;
      font-family: PingFangSC-Regular, PingFang SC;
      color: #333333;
      line-height: 22px;
      margin-left: getRemNum(12rem);
      flex-grow: 1;
    }
  }

  .personal-preview {
    width: getRemNum(335rem);
    margin: getRemNum(16rem) auto 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: getRemNum(8rem);
    overflow: hidden;

    & > section {
      width: getRemNum(302rem);
      height: getRemNum(64rem);
      background: #FFFFFF;
      border-bottom: solid getRemNum(1rem) #F5F5F5;
    }

    & > section:last-child {
      border: none !important;
    }

    & > section a {
      display: flex;
      align-items: center;
      width: getRemNum(302rem);
      height: getRemNum(64rem);
    }

    & > section a > section:nth-child(1) {
      width: getRemNum(20rem);
      height: getRemNum(20rem);
      margin-left: getRemNum(2rem);
      background-size: contain !important;
    }

    & > section a > section:last-child {
      width: getRemNum(24rem);
      height: getRemNum(24rem);
      background: url("https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/go.png") no-repeat;
      background-size: contain;
    }

    & > section:nth-child(1) a > section:nth-child(1) {
      background: url("https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/ReleaseFinalResults%403x.png") no-repeat;
    }

    & > section:nth-child(2) a > section:nth-child(1) {
      background: url("https://19jwshow.oss-cn-shenzhen.aliyuncs.com/images/ReleaseFinalResults%403x.png") no-repeat;
    }

    p {
      font-size: 16px;
      font-family: PingFangSC-Regular, PingFang SC;
      color: #333333;
      line-height: 22px;
      margin-left: getRemNum(12rem);
      flex-grow: 1;
    }
  }
}

.exit-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .4);

  & > section {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: getRemNum(271rem);
    height: getRemNum(175rem);
    border-radius: getRemNum(12rem);
    background: #fff;
    overflow: hidden;

    .exit-header {
      height: getRemNum(125rem);
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: getRemNum(18rem);
      font-family: PingFangSC-Medium, PingFang SC;
      font-weight: bold;
      color: #161516;
      line-height: 17px;
    }

    .exit-footer {
      height: getRemNum(50rem);
      background: #F5F5F5;
      display: flex;
      justify-content: flex-end;
      align-items: center;

      button {
        width: getRemNum(52rem);
        height: getRemNum(34rem);
        border-radius: getRemNum(4rem);
        border: none;
        font-size: getRemNum(14rem);
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: bold;
        color: #FFFFFF;
        line-height: 20px;
        margin-right: getRemNum(12rem);
      }

      & > button:nth-child(1) {
        background: linear-gradient(135deg, #4279FD 0%, #89B1FF 100%);
      }

      & > button:nth-child(2) {
        background: #D8D8D8;
      }
    }
  }
}

.tips {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .4);

  & > section {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: getRemNum(271rem);
    height: getRemNum(175rem);
    border-radius: getRemNum(12rem);
    background: #fff;
    overflow: hidden;

    .exit-header {
      height: getRemNum(125rem);
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: getRemNum(18rem);
      font-family: PingFangSC-Medium, PingFang SC;
      font-weight: bold;
      color: #161516;
      line-height: 17px;
    }

    .exit-footer {
      height: getRemNum(50rem);
      background: #F5F5F5;
      display: flex;
      justify-content: flex-end;
      align-items: center;

      button {
        width: getRemNum(52rem);
        height: getRemNum(34rem);
        border-radius: getRemNum(4rem);
        border: none;
        font-size: getRemNum(14rem);
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: bold;
        color: #FFFFFF;
        line-height: 20px;
        margin-right: getRemNum(12rem);
      }

      & > button:nth-child(1) {
        background: linear-gradient(135deg, #4279FD 0%, #89B1FF 100%);
      }

      & > button:nth-child(2) {
        background: #D8D8D8;
      }
    }
  }
}